package com.hxy.springboot06.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;
import org.springframework.data.relational.core.sql.In;

@Data
public class User {
    //自增主键的设定
    @TableId(type=IdType.AUTO)
    private Integer id;

    private String username;
    private String password;
    private String email;
}
